package com.deke.order.service;


import com.deke.entity.EduCourse;
import com.deke.order.vo.OrderVo;
import com.deke.vo.Result;

import java.util.List;
import java.util.Map;


/**
 * @author ：Username 刘亦辰（59372312@qq.com）
 * @date ：Created in 2022/12/9 12:13
 * @description：
 * @modified By：
 * @version:
 **/
public interface OrderService {

    //订单系统 模糊查询
    public Result<Map<String,Object>> queryAllByLimit(Integer currentPage, Integer pageSize, OrderVo orderVo);

    //订单查询 返回订单
    public Result queryOrderAndPayLog(String id);

    //根据老师名称查老师
    public Result queryAllTeacherBYTeacherName(String teacherName);

    //根据课程id查询课程信息
    public Result<List<EduCourse>> queryAllCourse(String courseId);

    //查看用户信息
    public Result queryAllMemberById(String memberId);

    Result getOrderStatus(String courseId, String memberId);

    Result deleteOrder(String id);
}
